﻿<?xml version="1.0" encoding="utf-8"?>
<xs:schema id="CDmDjkServiceInfo" targetNamespace="http://tempuri.org/CDmDjkServiceInfo.xsd" xmlns:mstns="http://tempuri.org/CDmDjkServiceInfo.xsd" xmlns="http://tempuri.org/CDmDjkServiceInfo.xsd" xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns:msdata="urn:schemas-microsoft-com:xml-msdata" xmlns:msprop="urn:schemas-microsoft-com:xml-msprop" attributeFormDefault="qualified" elementFormDefault="qualified">
  <xs:annotation>
    <xs:appinfo source="urn:schemas-microsoft-com:xml-msdatasource">
      <DataSource DefaultConnectionIndex="0" FunctionsComponentName="QueriesTableAdapter" Modifier="AutoLayout, AnsiClass, Class, Public" SchemaSerializationMode="IncludeSchema" xmlns="urn:schemas-microsoft-com:xml-msdatasource">
        <Connections>
          <Connection AppSettingsObjectName="Settings" AppSettingsPropertyName="dijiekeConnectionString" ConnectionStringObject="" IsAppSettingsProperty="true" Modifier="Assembly" Name="dijiekeConnectionString (Settings)" ParameterPrefix="@" PropertyReference="ApplicationSettings.msBsc.Xsd.DataTds.Properties.Settings.GlobalReference.Default.dijiekeConnectionString" Provider="System.Data.SqlClient" />
        </Connections>
        <Tables>
          <TableAdapter BaseClass="System.ComponentModel.Component" DataAccessorModifier="AutoLayout, AnsiClass, Class, Public" DataAccessorName="DJK_SERVICE_INFOTableAdapter" GeneratorDataComponentClassName="DJK_SERVICE_INFOTableAdapter" Name="DJK_SERVICE_INFO" UserDataComponentName="DJK_SERVICE_INFOTableAdapter">
            <MainSource>
              <DbSource ConnectionRef="dijiekeConnectionString (Settings)" DbObjectName="dijieke.dbo.DJK_SERVICE_INFO" DbObjectType="Table" FillMethodModifier="Public" FillMethodName="Fill" GenerateMethods="Both" GenerateShortCommands="true" GeneratorGetMethodName="GetData" GeneratorSourceName="Fill" GetMethodModifier="Public" GetMethodName="GetData" QueryType="Rowset" ScalarCallRetval="System.Object, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" UseOptimisticConcurrency="true" UserGetMethodName="GetData" UserSourceName="Fill">
                <DeleteCommand>
                  <DbCommand CommandType="Text" ModifiedByUser="false">
                    <CommandText>DELETE FROM [dbo].[DJK_SERVICE_INFO] WHERE (([SERVICE_ID] = @Original_SERVICE_ID) AND ((@IsNull_DJACK_ID = 1 AND [DJACK_ID] IS NULL) OR ([DJACK_ID] = @Original_DJACK_ID)) AND ((@IsNull_SERVICE_NME = 1 AND [SERVICE_NME] IS NULL) OR ([SERVICE_NME] = @Original_SERVICE_NME)) AND ((@IsNull_SERVICE_DESC = 1 AND [SERVICE_DESC] IS NULL) OR ([SERVICE_DESC] = @Original_SERVICE_DESC)) AND ((@IsNull_SERVICE_STRIKE_PRICE = 1 AND [SERVICE_STRIKE_PRICE] IS NULL) OR ([SERVICE_STRIKE_PRICE] = @Original_SERVICE_STRIKE_PRICE)))</CommandText>
                    <Parameters>
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@Original_SERVICE_ID" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="SERVICE_ID" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_DJACK_ID" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="DJACK_ID" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@Original_DJACK_ID" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="DJACK_ID" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_SERVICE_NME" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="SERVICE_NME" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@Original_SERVICE_NME" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="SERVICE_NME" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_SERVICE_DESC" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="SERVICE_DESC" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@Original_SERVICE_DESC" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="SERVICE_DESC" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_SERVICE_STRIKE_PRICE" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="SERVICE_STRIKE_PRICE" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Decimal" Direction="Input" ParameterName="@Original_SERVICE_STRIKE_PRICE" Precision="18" ProviderType="Decimal" Scale="2" Size="0" SourceColumn="SERVICE_STRIKE_PRICE" SourceColumnNullMapping="false" SourceVersion="Original" />
                    </Parameters>
                  </DbCommand>
                </DeleteCommand>
                <InsertCommand>
                  <DbCommand CommandType="Text" ModifiedByUser="false">
                    <CommandText>INSERT INTO [dbo].[DJK_SERVICE_INFO] ([SERVICE_ID], [DJACK_ID], [SERVICE_NME], [SERVICE_DESC], [SERVICE_STRIKE_PRICE]) VALUES (@SERVICE_ID, @DJACK_ID, @SERVICE_NME, @SERVICE_DESC, @SERVICE_STRIKE_PRICE);
SELECT SERVICE_ID, DJACK_ID, SERVICE_NME, SERVICE_DESC, SERVICE_STRIKE_PRICE FROM DJK_SERVICE_INFO WHERE (SERVICE_ID = @SERVICE_ID)</CommandText>
                    <Parameters>
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@SERVICE_ID" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="SERVICE_ID" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@DJACK_ID" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="DJACK_ID" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@SERVICE_NME" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="SERVICE_NME" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@SERVICE_DESC" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="SERVICE_DESC" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Decimal" Direction="Input" ParameterName="@SERVICE_STRIKE_PRICE" Precision="18" ProviderType="Decimal" Scale="2" Size="0" SourceColumn="SERVICE_STRIKE_PRICE" SourceColumnNullMapping="false" SourceVersion="Current" />
                    </Parameters>
                  </DbCommand>
                </InsertCommand>
                <SelectCommand>
                  <DbCommand CommandType="Text" ModifiedByUser="false">
                    <CommandText>SELECT SERVICE_ID, DJACK_ID, SERVICE_NME, SERVICE_DESC, SERVICE_STRIKE_PRICE FROM dbo.DJK_SERVICE_INFO</CommandText>
                    <Parameters />
                  </DbCommand>
                </SelectCommand>
                <UpdateCommand>
                  <DbCommand CommandType="Text" ModifiedByUser="false">
                    <CommandText>UPDATE [dbo].[DJK_SERVICE_INFO] SET [SERVICE_ID] = @SERVICE_ID, [DJACK_ID] = @DJACK_ID, [SERVICE_NME] = @SERVICE_NME, [SERVICE_DESC] = @SERVICE_DESC, [SERVICE_STRIKE_PRICE] = @SERVICE_STRIKE_PRICE WHERE (([SERVICE_ID] = @Original_SERVICE_ID) AND ((@IsNull_DJACK_ID = 1 AND [DJACK_ID] IS NULL) OR ([DJACK_ID] = @Original_DJACK_ID)) AND ((@IsNull_SERVICE_NME = 1 AND [SERVICE_NME] IS NULL) OR ([SERVICE_NME] = @Original_SERVICE_NME)) AND ((@IsNull_SERVICE_DESC = 1 AND [SERVICE_DESC] IS NULL) OR ([SERVICE_DESC] = @Original_SERVICE_DESC)) AND ((@IsNull_SERVICE_STRIKE_PRICE = 1 AND [SERVICE_STRIKE_PRICE] IS NULL) OR ([SERVICE_STRIKE_PRICE] = @Original_SERVICE_STRIKE_PRICE)));
SELECT SERVICE_ID, DJACK_ID, SERVICE_NME, SERVICE_DESC, SERVICE_STRIKE_PRICE FROM DJK_SERVICE_INFO WHERE (SERVICE_ID = @SERVICE_ID)</CommandText>
                    <Parameters>
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@SERVICE_ID" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="SERVICE_ID" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@DJACK_ID" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="DJACK_ID" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@SERVICE_NME" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="SERVICE_NME" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@SERVICE_DESC" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="SERVICE_DESC" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Decimal" Direction="Input" ParameterName="@SERVICE_STRIKE_PRICE" Precision="18" ProviderType="Decimal" Scale="2" Size="0" SourceColumn="SERVICE_STRIKE_PRICE" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@Original_SERVICE_ID" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="SERVICE_ID" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_DJACK_ID" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="DJACK_ID" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@Original_DJACK_ID" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="DJACK_ID" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_SERVICE_NME" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="SERVICE_NME" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@Original_SERVICE_NME" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="SERVICE_NME" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_SERVICE_DESC" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="SERVICE_DESC" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@Original_SERVICE_DESC" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="SERVICE_DESC" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_SERVICE_STRIKE_PRICE" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="SERVICE_STRIKE_PRICE" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Decimal" Direction="Input" ParameterName="@Original_SERVICE_STRIKE_PRICE" Precision="18" ProviderType="Decimal" Scale="2" Size="0" SourceColumn="SERVICE_STRIKE_PRICE" SourceColumnNullMapping="false" SourceVersion="Original" />
                    </Parameters>
                  </DbCommand>
                </UpdateCommand>
              </DbSource>
            </MainSource>
            <Mappings>
              <Mapping SourceColumn="SERVICE_ID" DataSetColumn="SERVICE_ID" />
              <Mapping SourceColumn="DJACK_ID" DataSetColumn="DJACK_ID" />
              <Mapping SourceColumn="SERVICE_NME" DataSetColumn="SERVICE_NME" />
              <Mapping SourceColumn="SERVICE_DESC" DataSetColumn="SERVICE_DESC" />
              <Mapping SourceColumn="SERVICE_STRIKE_PRICE" DataSetColumn="SERVICE_STRIKE_PRICE" />
            </Mappings>
            <Sources />
          </TableAdapter>
        </Tables>
        <Sources />
      </DataSource>
    </xs:appinfo>
  </xs:annotation>
  <xs:element name="CDmDjkServiceInfo" msdata:IsDataSet="true" msdata:UseCurrentLocale="true" msprop:EnableTableAdapterManager="true" msprop:Generator_DataSetName="CDmDjkServiceInfo" msprop:Generator_UserDSName="CDmDjkServiceInfo">
    <xs:complexType>
      <xs:choice minOccurs="0" maxOccurs="unbounded">
        <xs:element name="DJK_SERVICE_INFO" msprop:Generator_TableClassName="DJK_SERVICE_INFODataTable" msprop:Generator_TableVarName="tableDJK_SERVICE_INFO" msprop:Generator_TablePropName="DJK_SERVICE_INFO" msprop:Generator_RowDeletingName="DJK_SERVICE_INFORowDeleting" msprop:Generator_RowChangingName="DJK_SERVICE_INFORowChanging" msprop:Generator_RowEvHandlerName="DJK_SERVICE_INFORowChangeEventHandler" msprop:Generator_RowDeletedName="DJK_SERVICE_INFORowDeleted" msprop:Generator_UserTableName="DJK_SERVICE_INFO" msprop:Generator_RowChangedName="DJK_SERVICE_INFORowChanged" msprop:Generator_RowEvArgName="DJK_SERVICE_INFORowChangeEvent" msprop:Generator_RowClassName="DJK_SERVICE_INFORow">
          <xs:complexType>
            <xs:sequence>
              <xs:element name="SERVICE_ID" msprop:Generator_ColumnVarNameInTable="columnSERVICE_ID" msprop:Generator_ColumnPropNameInRow="SERVICE_ID" msprop:Generator_ColumnPropNameInTable="SERVICE_IDColumn" msprop:Generator_UserColumnName="SERVICE_ID">
                <xs:simpleType>
                  <xs:restriction base="xs:string">
                    <xs:maxLength value="36" />
                  </xs:restriction>
                </xs:simpleType>
              </xs:element>
              <xs:element name="DJACK_ID" msprop:Generator_ColumnVarNameInTable="columnDJACK_ID" msprop:Generator_ColumnPropNameInRow="DJACK_ID" msprop:Generator_ColumnPropNameInTable="DJACK_IDColumn" msprop:Generator_UserColumnName="DJACK_ID" minOccurs="0">
                <xs:simpleType>
                  <xs:restriction base="xs:string">
                    <xs:maxLength value="36" />
                  </xs:restriction>
                </xs:simpleType>
              </xs:element>
              <xs:element name="SERVICE_NME" msprop:Generator_ColumnVarNameInTable="columnSERVICE_NME" msprop:Generator_ColumnPropNameInRow="SERVICE_NME" msprop:Generator_ColumnPropNameInTable="SERVICE_NMEColumn" msprop:Generator_UserColumnName="SERVICE_NME" minOccurs="0">
                <xs:simpleType>
                  <xs:restriction base="xs:string">
                    <xs:maxLength value="30" />
                  </xs:restriction>
                </xs:simpleType>
              </xs:element>
              <xs:element name="SERVICE_DESC" msprop:Generator_ColumnVarNameInTable="columnSERVICE_DESC" msprop:Generator_ColumnPropNameInRow="SERVICE_DESC" msprop:Generator_ColumnPropNameInTable="SERVICE_DESCColumn" msprop:Generator_UserColumnName="SERVICE_DESC" minOccurs="0">
                <xs:simpleType>
                  <xs:restriction base="xs:string">
                    <xs:maxLength value="30" />
                  </xs:restriction>
                </xs:simpleType>
              </xs:element>
              <xs:element name="SERVICE_STRIKE_PRICE" msprop:Generator_ColumnVarNameInTable="columnSERVICE_STRIKE_PRICE" msprop:Generator_ColumnPropNameInRow="SERVICE_STRIKE_PRICE" msprop:Generator_ColumnPropNameInTable="SERVICE_STRIKE_PRICEColumn" msprop:Generator_UserColumnName="SERVICE_STRIKE_PRICE" type="xs:decimal" minOccurs="0" />
            </xs:sequence>
          </xs:complexType>
        </xs:element>
      </xs:choice>
    </xs:complexType>
    <xs:unique name="Constraint1" msdata:PrimaryKey="true">
      <xs:selector xpath=".//mstns:DJK_SERVICE_INFO" />
      <xs:field xpath="mstns:SERVICE_ID" />
    </xs:unique>
  </xs:element>
</xs:schema>